package com.jy.adscm.hcPlan.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.hcPlan.bean.Hc_plan_materiel;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.hcPlan.bean.Hc_plan_supplier;
import com.jy.adscm.utils.AdscmBaseUtils;

import java.util.List;

/**
 * <p>
 * 物料清单 服务类
 * </p>
 *
 * @author yyy
 * @since 2018-09-11
 */
public interface Hc_plan_materielService extends IService<Hc_plan_materiel> {

    /**
     * 查询所有物料清单
     * @return
     */
    public List<Hc_plan_materiel> queryAllMaterielList() throws AdscmSystemException;

    void addMaterielConfig(Hc_plan_materiel materiel)throws AdscmSystemException;
    void editMaterielConfig(Hc_plan_materiel materiel)throws AdscmSystemException;
    void delMaterielConfig(Integer id)throws AdscmSystemException;

    /**
     * 获取所有供应商列表
      * @return
     */
    List<Hc_plan_supplier> getAllHc_plan_supplier()throws AdscmSystemException;

}
